<?php
//$this->breadcrumbs=array(
//	'Bank Branches',
//);

$this->menu=array(
	array('label'=>'Create BankBranch', 'url'=>array('create'), 'linkOptions' => array('class' => 'btn')),
	array('label'=>'Manage BankBranch', 'url'=>array('admin'), 'linkOptions' => array('class' => 'btn')),
);
?>

<h2>Bank Branches</h2>

<?php
$this->widget('zii.widgets.grid.CGridView', array(
    'id' => 'bankBranch-grid',
    'dataProvider' => $dataProvider,
    'summaryCssClass' => 'breadcrumb',
    'columns' => array(
        'id',
        'name',
        'bank.name',
        array(
            'class' => 'CButtonColumn',
        ),
    ),
));
?>